<%@ page language="java" contentType= "text/html" pageEncoding="UTF-8"%>
<%@include file="/include/common/formuihead1.jsp"%>
<%
	page1.getPageTitle().setEnab(false);
%>
<%@include file="/include/common/formuihead2.jsp"%>
<%
	page1.getPageTitle().setTitle("用戶設定right");
%>
<jm:form>
<jm:layout postion="north">
	<jm:toolbar deleteDisabled="false"  exportDisabled="true" newDisabled="false" newEnab="false" printDisabled="true">
		<button name="newnext" icon="sx-tb-new" pos="1" value="新增下一筆" onclick="newNextRecord();"/>
	</jm:toolbar>
	<jm:pageTitle />
</jm:layout>

<jm:layout postion="center">
	<jm:error></jm:error>  
	<jm:dp id="dp1" data="<%=Utils.TAG_FORM%>" tabSize="1">
		<jm:tab colModel="">
			<jm:group colspan="1" hidden="true"> 
				<input name="pan001sn" caption="主鍵值" type="text"/> 
			</jm:group>
			<input name="userid" caption="用戶名" type="text" enab="<%=form.gpiv("pan001sn") == 0 ? "true" : "false" %>>"/>
			<input name="pwd" caption="密码" type="text"/>
			<input name="chname" caption="姓名" type="text"/>
			<input name="email" caption="邮件" type="text"/>
			<jm:select name="sex" caption="性別" codeList="M|男;F|女" />
			<jm:select name="uitype" caption="UI类型" codeList="jquery|低配;ext|高配" emptySupported="false"/>
			<jm:select name="enab" caption="状态" codeList="1|启用;0|取消;" emptySupported="false" />
		</jm:tab>
	</jm:dp> 
</jm:layout>
</jm:form>
<jm:script><script type="text/javascript" charset="UTF-8">
	//以下定义 action function ,on+action 命名function
	function newNextRecord(){
		if(confirm('確定新增一下筆用戶?'))
			window.location.href='admin004_right.jsp';
	}
</script></jm:script>
<%@include file="/include/common/formuiend.jsp"%>
